package org.meruvian.yama.service;

import java.util.List;

import org.meruvian.yama.entity.Person;



/**
*
* @author vick
*/
public interface PersonService {
	
	void save(Person person);
    void delete(Person person);
    Person getPerson(String id);
    List<Person> getPersons();
    List<Person> getPersons(int start, int num);
    List<Person> listParents(String personId);
    List<Person> listChilds(String personId, String parentId);
    List<Person> listPersons(boolean sex);
    
    Person getRelation(String id);
    Person getParent(String id);
    List<Person> getRelations();
    List<Person> getParents(String id);
    List<Person> getChilds(String personId, String relationId);
    List<Person> findPersons(String firstName);

    
}
